<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of ControleurJeu
 *
 * @author Rymdia
 */
class ControleurJeu {
    //put your code here
    
    public function afficherjeubyName()
    {
    
        switch($_REQUEST['name'])
        {
            case "Lol":
                VariableGlobales::$lesPersonnages = gestionBD::getPersoByNameGame("Lol");
                include (Chemins::VUES."v_jeuLol.php");
                break;
            case "Smite":
                VariableGlobales::$lesPersonnages = gestionBD::getPersobyNameGame("Smite");
                include (Chemins::VUES."v_jeuSmite.php");
                break;
            default :
                break;
            
        }
        
    }
    
}
